<p>
    <a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'controllers', 'action' => 'add'), 'default', true) ?>">
        Novo Controller
    </a>
</p>
Categorias: <br />
<table>
    <thead>
        <tr>
            <th>ID</th><th>Titulo</th><th>Module</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($this->entries as $entry): ?>
            <tr>
                <td><?php print $this->escape($entry->id) ?></td>
                <td><?php print $this->escape($entry->name) ?></td>
                <td><?php print $this->escape($entry->module) ?></td>
                <td>
                    <a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'controllers', 'action' => 'delete','id' =>$this->escape($entry->id)), 'default', true) ?>">
                        Excluir
                    </a>
                </td>
                <td>
                    <a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'controllers', 'action' => 'edit','id' =>$this->escape($entry->id)), 'default', true) ?>">
                        Alterar
                    </a>
                </td>
            </tr>
        <?php endforeach ?>
        </tbody>
        <tfoot>
            <tr>
                <th>Total</th>
                <th><?php echo count($this->entries); ?></th>
        </tr>
    </tfoot>
</table>
